package com.janwen.j2se.exception;

import java.sql.SQLException;

public class ThrowCheckdException {

	
	public static void main(String[] args) {
		doThrow(new SQLException());
	}
	
	static void doThrow(Exception e){
		ThrowCheckdException.<RuntimeException> doThrow0(e);
	}
	
	static <E extends Exception> void doThrow0(Exception e) throws E{
		throw (E) e;
	}
}
